package com.lanou.controller;

import com.lanou.service.ConfigHouseService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ConfigHouseController
 * @Description: TODO
 * @Author 郅占伟
 * @Date 2023年10月25日
 * @Version: 1.0
 */
@Api(value = "业主信息",tags = "业主信息")
@RestController
public class ConfigHouseController {

    @Autowired
    private ConfigHouseService configHouseService;

    // 根据姓名查询
    @ApiOperation(value = "获取商铺列表",httpMethod = "GET")
    @RequestMapping(value ="/getConfigHouseList", produces = "text/html;charset=UTF-8")
    public String getConfigHouseList(String pageNum,String pageSize,String companyName){
        return configHouseService.getConfigHouseByName(pageNum, pageSize, companyName);
    }

}
